package drds.data_propagate.task;

import drds.common.Constants;

public class Test {
    public static void main(String[] args) {
        Constants.developMode = true;
        TaskManager taskManager = new TaskManagerImpl();
        //
        TaskGenerator taskGenerator = new TaskGeneratorImpl();
        ((TaskGeneratorImpl) taskGenerator).setTaskManager(taskManager);
        //
        Server server = new ServerImpl();
        ((ServerImpl) server).setTaskGenerator(taskGenerator);
        server.start();
    }
}
